﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mfCustOrder.aspx.cs" Inherits="msBsc.WebUi.mfCustOrder" %>

<!DOCTYPE HTML>
<html>
<head>
    <title>提交订单</title>
    <%=getMeta()%>
    <%=getBodyBeforeJs()%>
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/mGlobal.css" charset="gbk" />
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/mcorder.css" charset="gbk" />
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jmPage.js,themes/Style1/jsQt.js,jqPlugin/layer/layer.min.js"
        type="text/javascript"></script> 
    <script type="text/javascript">
        $(window).load(function () {
        }); 
    </script>
    <!--head fix rgn-->
    <style type="text/css"> 
    </style>
    <base target="_self" />
</head>
<body>
    <input type="hidden" id="Ratecurrpage" value="1">
    <input type="hidden" id="Dealcurrpage" value="1">
    <input type="hidden" id="txtId" value="">
    <input type="hidden" id="txtLogisId" value="">
<%--    <input type="hidden" id="txtLogisNme" value="">--%>
    <input type="hidden" id="txtDealerId" value="">
        <input type="hidden" id="txtCartId" value="">
        <input type="hidden" id="txtGoodsId" value="">
        <input type="hidden" id="txtSrcT" value="">
        <input type="hidden" id="txtPubNId1" value="">
        <input type="hidden" id="txtPubNId2" value="">
        <input type="hidden" id="txtBuyQty" value="">
        <input type="hidden" id="txtPlaceId" value="">
        <input type="hidden" id="txtRecAddrId" value="">
    <div class="viewport">
        <%=omQtHtmlGet.GetHeaderTopHtml(true, false)%> 
        <div class="clear">
        </div>

        <!--地址开始-->

        <div class="floor" id="divAddrSel">
            <div class="tm-fcs-panel">
            <span class="address-btn" style=" " id="addrSelBtn">＋</span>
            <div style=" position:relative; padding-left:20px;">
            <%=strReceiveAddrHtml %>
   <%--         <p><span style=" font-weight:bold;">收货人：</span></p><p><span style=" font-weight:bold;">收货地址：</span></p>--%>
            </div> 
            </div>
            <ul id="addresslist" class="address-list" style="display:none;">
               <%=GetAddrListHtml()%>
            </ul>
            <div style=" padding:3px 3px 3px 20px;"><a href="javascript:void(0);" onclick="showaddnewaddr();">＋添加新地址</a></div>
            <div id="divnewAddrAdd" style="display:none;">
                <div class="clear" style="position: relative; padding-top:3px; margin-bottom:6px;">
                    <div  class="addrnewtitle">
                        所在地区
                    </div>
                    <div style="position: relative; left: 0px; padding-left: 80px;"> 
                        <select name="dplPROVINCE_ID" id="dplPROVINCE_ID" class="comSel" style="width: 33.33333%;float:left;">
                        </select> 
                        <select name="dplCITY_ID" id="dplCITY_ID" class="comSel" style="width: 33.33333%;float:left;">
                        </select> 
                        <select name="dplAREA_ID" id="dplAREA_ID" reg-targ="newaddrvalispan" class="comSel vali-inp" style="width: 33.33333%;float:left;">
                        </select> 
                     </div>
                     <div style=" padding-left:80px;"><span id="newaddrvalispan"></span></div>
        <div class="clear"></div> 
                </div>
                <div class="clear" style="position: relative; padding-top:3px; margin-bottom:6px;">
                    <div  class="addrnewtitle">
                        详细地址
                    </div>
                    <div style="position: relative; left: 0px; padding-left: 80px;">
                        <textarea   id="txtSTREET_ADDRESS" reg-targ="streetvalispan" style="width: 100%;height:52px;" placeholder="" class=" vali-inp" reg-exp="^([\u4E00-\uFA29]|[\uE7C7-\uE7F3]|[a-zA-Z0-9#]){5,120}$" right-msg="允许5-120个字符，可用中文、数字、字母、#"/></textarea>
                    </div>
                     <div style=" padding-left:80px;"><span id="streetvalispan"></span></div>
                </div>
                <div class="clear" style="position: relative; padding-top:3px; margin-bottom:6px;">
                    <div  class="addrnewtitle">
                        邮政编码
                    </div>
                    <div style="position: relative; left: 0px; padding-left: 80px;">
                        <input type="text" value=""  id="txtZIP_CODE" reg-targ="zipvalispan" class=" vali-inp" style="width: 100%;" reg-exp="^[0-9]{6}$" right-msg="请填写6位数字"/>
                    </div>
                     <div style=" padding-left:80px;"><span id="zipvalispan"></span></div>
                </div>
                <div class="clear" style="position: relative; padding-top:3px; margin-bottom:6px;">
                    <div  class="addrnewtitle">
                        收货人姓名
                    </div>
                    <div style="position: relative; left: 0px; padding-left: 80px;">
                        <input type="text" value=""  id="txtRECEIPT_NME" reg-targ="recnmevalispan" class=" vali-inp" style="width: 100%;" />
                    </div>
                     <div style=" padding-left:80px;"><span id="recnmevalispan"></span></div>
                </div>
                <div class="clear" style="position: relative; padding-top:3px; margin-bottom:6px;">
                    <div  class="addrnewtitle">
                        手机号码
                    </div>
                    <div style="position: relative; left: 0px; padding-left: 80px;">
                        <input type="text" value="" id="txtPHONE_NO" reg-targ="phonevalispan" class=" vali-inp"   reg-exp="^\s*$|^1[0-9]{10}$" right-msg="请填写11位数字"  style="width: 100%;" />
                    </div>
                     <div style=" padding-left:80px;"><span id="phonevalispan"></span></div>
                </div>
                <div class="clear" style="position: relative; padding-top:3px; margin-bottom:6px;">
                    <div  class="addrnewtitle">
                        座机电话
                    </div>
                    <div style="position: relative; left: 0px; padding-left: 80px;">
                        <input type="text" value=""  id="txtAREA_CODE" reg-targ="landinevalispan" class=" vali-inp"  reg-exp="^\s*$|[0-9]{3,4}$" right-msg="请填写正确的区号,座机号码,分机号" style="width: 20%;float:left;" placeholder="区号" />
                        <input type="text" value=""  id="txtLANDLINE_NO" reg-targ="landinevalispan" class=" vali-inp" reg-exp="^\s*$|[0-9]{7,18}$" right-msg="" style="width: 60%;float:left;" placeholder="座机号码" />
                        <input type="text" value="" id="txtEXTENSION_NO" reg-targ="landinevalispan" class=" vali-inp"  reg-exp="^\s*$|[0-9]{3,8}$" right-msg="" style="width: 20%;float:left;" placeholder="分机号" />
                    </div>
                     <div style=" padding-left:80px;"><span id="landinevalispan"></span></div>
                </div>
                <div class="clear" style="position: relative; padding-top:3px; margin-bottom:3px; text-align:center;">
                <button type="button" class="btn btn-large" id="btnSaveAddr" style="  margin-top:20px;width:100%; font-weight:normal;">
                                            保存地址</button>
                </div>
            </div>
        </div>
        <div class="clear"></div> 

        <!--地址结束-->
        
        <!--订单1-->
        <%=GetGoodsListHtml()%>  
        <div class="clear"></div> 
        <!--结算-->
        
        <div class="floor cust-order"  >
        <div class="order-title goods-amt" ><p><span >本次应付金额合计：</span>￥<em id="spnPAYABLE_AMT">0.00</em></p></div>
        <div class="order-title goods-amt" id="divscorehg" style="display:none;">
            <span style=" float:right;">- ￥<em id="scoredikouAmt">0.00</em></span>
            <span  style=" float:right;color:#333;"><p><span class="add-btn" id="btnScoredikou">＋</span><span > 积分抵扣：</span><span id="spnScoreInput" style="display:none;"><input type="number" id="txtPaidScoreQty" score-price="" value="" min="0" style="width:80px;" /> 点，</span></p><p id="pallowUseScore" style="display:none; text-align:center;color:#999;">(可用积分<em id="spnAllowUseScore">0</em>点)</p></span>
        <div class="clear"></div> 
        </div>
        <div class="order-title goods-amt" ><p><span >- 抵扣金额合计：</span>￥<em id="tatoldikouAmt">0.00</em></p></div>
        <div style=" background-color:#f7f7f7;border-radius: 3px;-webkit-border-radius: 3px;-ms-border-radius: 3px;">
        <div class="order-title goods-amt"   style=" font-size:18px; font-weight:bold;"><p><span >支付现金合计：</span>￥<em id="J_ActualFee">0.00</em></p></div>
        <div class="order-title goods-amt"  style="  color:#999;display:none;" id="divgetScore"><p><span >可获得积分：</span><em id="spnScoreTotal">0</em>点</p></div>
        <div class="order-title goods-amt" ><button type="button" class="btn btn-large" id="btnSaveOrder" style="
                                            width: 100%;">
                                            提交订单</button></div>
        </div></div>

    </div>
    <script src="/themes/mStyle1/mcorder.js" type="text/javascript"></script>
</body>
<%=getBodyAfterJs() %>
</html>
